package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 视频互动对象 spff_video_interactions
 * 
 * @author xjj
 * @date 2025-09-11
 */
public class SpffVideoInteractions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 互动ID */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 视频ID */
    @Excel(name = "视频ID")
    private Long videoId;


    /** 互动类型:1-点赞,2-收藏,3-分享 */
    @Excel(name = "互动类型:1-点赞,2-收藏,3-分享")
    private Integer interactionType;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date createdAt;

    /** 用户名 */
    private String nickname;

    /** 视频标题 */
    @Excel(name = "视频标题")
    private String title;

    /** 视频封面 */
    @Excel(name = "视频封面")
    private String coverUrl;

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCoverUrl() {
        return coverUrl;
    }

    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setVideoId(Long videoId) 
    {
        this.videoId = videoId;
    }

    public Long getVideoId() 
    {
        return videoId;
    }

    public void setInteractionType(Integer interactionType)
    {
        this.interactionType = interactionType;
    }

    public Integer getInteractionType() 
    {
        return interactionType;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("videoId", getVideoId())
            .append("interactionType", getInteractionType())
            .append("createdAt", getCreatedAt())
                .append("nickname", getNickname())
                .append("coverUrl", getCoverUrl())
                .append("title", getTitle())
            .toString();
    }

}
